package com.nantong.admin.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import com.nantong.common.mybatis.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 产品表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_product")
public class Product extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品ID
     */
    @TableId(value = "product_id", type = IdType.AUTO)
    private Long productId;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 检验标准
     */
    private String inspectionStandard;

    /**
     * 周期
     */
    private String cycle;

    /**
     * 用量
     */
    private String dosage;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 产品类型
     */
    private Integer productType;

}